package user;

import book.BookList;
import operation.I0Peration;

public abstract class User {
    public String name;
    public I0Peration[] i0Perations ;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public void doOperation(int choice,BookList bookList){
        this.i0Perations[choice].work(bookList);
    }
}
